[INFO] cloning repository https://github.com/lasernoises/age-of-wasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lasernoises/age-of-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flasernoises%2Fage-of-wasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flasernoises%2Fage-of-wasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4759fa7d2926582c06bde533ea243ad50588d03
[INFO] fixing lasernoises/age-of-wasm against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flasernoises%2Fage-of-wasm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/lasernoises/age-of-wasm
[INFO] finished tweaking git repo https://github.com/lasernoises/age-of-wasm
[INFO] tweaked toml for git repo https://github.com/lasernoises/age-of-wasm written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lasernoises/age-of-wasm on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lasernoises/age-of-wasm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f
[INFO] running `Command { std: "docker" "start" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking buddy-alloc v0.4.1
[INFO] [stderr]     Checking cart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/wasm4.rs (11 fixes)
[INFO] [stderr]        Fixed src/lib.rs (2 fixes)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         STATE.write(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         STATE.assume_init_mut().update();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         STATE.write(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         STATE.assume_init_mut().update();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] [stderr] crater-edition-check: cart v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking cart v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |         _ => unit.unit_type.walking[animation_frame as usize], // Standing
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 313 |         Walk => unit.unit_type.walking[animation_frame as usize],
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 314 |         Attack => unit.unit_type.attack[animation_frame as usize],
[INFO] [stdout]     |         ------ matches some of the same values
[INFO] [stdout] 315 |         _ => unit.unit_type.walking[animation_frame as usize], // Standing
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_FLAGS` is never used
[INFO] [stdout]  --> src/sprites.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const UNIT4_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const UNIT5_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const UNIT5_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const UNIT5_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const UNIT4_ATTACK1_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const UNIT4_ATTACK1_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const UNIT4_ATTACK1_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub const UNIT4_ATTACK2_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub const UNIT4_ATTACK2_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub const UNIT4_ATTACK2_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const UNIT4_GUN1_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub const UNIT4_GUN1_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const UNIT4_GUN1_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const UNIT4_GUN2_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |         _ => unit.unit_type.walking[animation_frame as usize], // Standing
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 313 |         Walk => unit.unit_type.walking[animation_frame as usize],
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 314 |         Attack => unit.unit_type.attack[animation_frame as usize],
[INFO] [stdout]     |         ------ matches some of the same values
[INFO] [stdout] 315 |         _ => unit.unit_type.walking[animation_frame as usize], // Standing
[INFO] [stdout]     |         ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub const UNIT4_GUN2_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const UNIT4_GUN2_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         STATE.write(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         STATE.assume_init_mut().update();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_FLAGS` is never used
[INFO] [stdout]  --> src/sprites.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const UNIT4_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const UNIT5_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const UNIT5_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT5_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const UNIT5_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const UNIT4_ATTACK1_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const UNIT4_ATTACK1_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK1_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const UNIT4_ATTACK1_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub const UNIT4_ATTACK2_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub const UNIT4_ATTACK2_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_ATTACK2_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub const UNIT4_ATTACK2_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub const UNIT4_GUN1_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub const UNIT4_GUN1_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN1_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub const UNIT4_GUN1_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_WIDTH` is never used
[INFO] [stdout]   --> src/sprites.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub const UNIT4_GUN2_WIDTH: u32 = 12;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_HEIGHT` is never used
[INFO] [stdout]   --> src/sprites.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub const UNIT4_GUN2_HEIGHT: u32 = 16;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIT4_GUN2_FLAGS` is never used
[INFO] [stdout]   --> src/sprites.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const UNIT4_GUN2_FLAGS: u32 = BLIT_2BPP;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         STATE.write(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         STATE.assume_init_mut().update();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:13:42
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/alloc.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cart` (lib test) due to 4 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cart` (lib) due to 4 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f", kill_on_drop: false }`
[INFO] [stdout] 9ad15d70b44661669495e15a286124d45890ecce564a7c195da13c66298d1e6f
